package com.yunhe.common.model.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunhe.common.model.base.Area;

import java.util.Date;

public class GeneratePriceDTO {
    private Long id;

    private String title;

    private Area country;

    private Area province;

    private Area city;

    private Area district;

    private Double windPrice;

    private Double pvPrice;

    private Boolean origin;

    private String currency;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Area getCountry() {
        return country;
    }

    public void setCountry(Area country) {
        this.country = country;
    }

    public Area getProvince() {
        return province;
    }

    public void setProvince(Area province) {
        this.province = province;
    }

    public Area getCity() {
        return city;
    }

    public void setCity(Area city) {
        this.city = city;
    }

    public Area getDistrict() {
        return district;
    }

    public void setDistrict(Area district) {
        this.district = district;
    }

    public Double getWindPrice() {
        return windPrice;
    }

    public void setWindPrice(Double windPrice) {
        this.windPrice = windPrice;
    }

    public Double getPvPrice() {
        return pvPrice;
    }

    public void setPvPrice(Double pvPrice) {
        this.pvPrice = pvPrice;
    }

    public Boolean getOrigin() {
        return origin;
    }

    public void setOrigin(Boolean origin) {
        this.origin = origin;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }
}
